import request from "./htttp2";

// 	 * 单位用户树
// 	 */
export function statementVariableTree(params) {
    return request({
        url: "/statement/variable/tree",
        method: "get",
        params
    });
}
//查询配置
export function getConfig() {
  return request({
    url: "/monitoringControlConfig/getConfig",
    method: "get",
  });
}

//删除配置
export function deleteConfig(data) {
  return request({
    url: "/monitoringControlConfig/deleteConfig",
    method: "post",
    data,
  });
}

//添加配置
export function saveConfig(data) {
  return request({
    url: "/monitoringControlConfig/saveConfig",
    method: "post",
    data,
  });
}